package com.zhb.designmode.creationmode.factory.abstractfactory.factory;

import com.zhb.designmode.creationmode.factory.abstractfactory.product.PC;
import com.zhb.designmode.creationmode.factory.abstractfactory.product.Phone;
import com.zhb.designmode.creationmode.factory.abstractfactory.product_xiaomi.XiaoMiPC;
import com.zhb.designmode.creationmode.factory.abstractfactory.product_xiaomi.XiaoMiPhone;

public class XiaoMiFactory implements AbstractFactory{
    public Phone getPhone() {
        return new XiaoMiPhone();
    }

    public PC getPC() {
        return new XiaoMiPC();
    }
}
